package com.lbd.gulimall.auth.feign;

import com.lbd.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: linbd
 * @Description:
 * @Date: 2023/3/18 14:12
 */
@FeignClient("gulimall-third-party")
public interface SmsFeignService {
    @GetMapping("/sms/sendSMS")
    public R sendSMS(@RequestParam("phone")String phone, @RequestParam("code")String code);
}
